package com.sugon.service.impl;

import com.sugon.dao.MesShiftprojectDao;
import com.sugon.entity.MesShiftprojectEntity;
import com.sugon.service.MesShiftprojectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * mes排班信息表Service实现类
 *
 * @author sugon
 * @date 2020-07-19 08:52:40
 */
@Service("mesShiftprojectService")
public class MesShiftprojectServiceImpl implements MesShiftprojectService {
    @Autowired
    private MesShiftprojectDao mesShiftprojectDao;

    @Override
    public MesShiftprojectEntity queryObject(Integer planid) {
        return mesShiftprojectDao.queryObject(planid);
    }

    @Override
    public List<MesShiftprojectEntity> queryList(Map<String, Object> map) {
        return mesShiftprojectDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return mesShiftprojectDao.queryTotal(map);
    }

    @Override
    public int save(MesShiftprojectEntity mesShiftproject) {
        return mesShiftprojectDao.save(mesShiftproject);
    }

    @Override
    public int update(MesShiftprojectEntity mesShiftproject) {
        return mesShiftprojectDao.update(mesShiftproject);
    }

    @Override
    public int delete(Integer planid) {
        return mesShiftprojectDao.delete(planid);
    }

    @Override
    public int deleteBatch(Integer[] planids) {
        return mesShiftprojectDao.deleteBatch(planids);
    }
}
